<table>
  <tr>
    <td>Height map</td><td><select id="TerrainMaterialTab_Heightmap" onchange="updateTerrainMaterial();"></select></td>
  </tr>
  <tr>
    <td>Texture map</td><td><select id="TerrainMaterialTab_Texturemap" onchange="updateTerrainMaterial();"></select></td>
  </tr>
  <tr>
    <td>Material map</td><td><select id="TerrainMaterialTab_Materialmap" onchange="updateTerrainMaterial();"></select></td>
  </tr>
  <tr>
    <td>Material texture 0</td><td><select id="TerrainMaterialTab_MaterialTex0" onchange="updateTerrainMaterial();"></select></td>
  </tr>
  <tr>
    <td>Material texture 1</td><td><select id="TerrainMaterialTab_MaterialTex1" onchange="updateTerrainMaterial();"></select></td>
  </tr>
  <tr>
    <td>Material texture 2</td><td><select id="TerrainMaterialTab_MaterialTex2" onchange="updateTerrainMaterial();"></select></td>
  </tr>
  <tr>
    <td>Material texture 3</td><td><select id="TerrainMaterialTab_MaterialTex3" onchange="updateTerrainMaterial();"></select></td>
  </tr>
</table>
<table>
  <tr>
    <td>Terrain Size</td><td><input type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_TerrainSize" onchange="updateTerrainMaterial();"/></td>
  </tr>
  <tr>
    <td>Update step</td><td><input type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_UpdateStep" onchange="updateTerrainMaterial();"/></td>
  </tr>
  <tr>  
    <td>Material Size</td><td><input type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_MaterialSize" onchange="updateTerrainMaterial();"/></td>
  </tr>
  <tr>  
    <td>Material Blend Radius</td><td><input type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_MaterialBlendRadius" onchange="updateTerrainMaterial();"/></td>
  </tr>
</table>
<table>
  <tr>
    <td >Material Blend Factor</td>         <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_MaterialBlendFactor0" onchange="updateTerrainMaterial();"/></td>
                                            <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_MaterialBlendFactor1" onchange="updateTerrainMaterial();"/></td>
                                            <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_MaterialBlendFactor2" onchange="updateTerrainMaterial();"/></td>
                                            <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_MaterialBlendFactor3" onchange="updateTerrainMaterial();"/></td>
  </tr>
  <tr>
  <td >Ambient</td>         <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_Ambient0" onchange="updateTerrainMaterial();"/></td>
                                            <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_Ambient1" onchange="updateTerrainMaterial();"/></td>
                                            <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_Ambient2" onchange="updateTerrainMaterial();"/></td>
             
  </tr>
  <td >Diffuse</td>         <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_Diffuse0" onchange="updateTerrainMaterial();"/></td>
                                            <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_Diffuse1" onchange="updateTerrainMaterial();"/></td>
                                            <td><input style="width: 35px" type="text" onkeypress="return isNumberKey(event);" id="TerrainMaterialTab_Diffuse2" onchange="updateTerrainMaterial();"/></td>
             
  </tr>
</table>